package com.qf.main.pharmacy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author chengqiang
 * @Create 2024-03-03-15:21
 * @Description:
 */
@ApiModel(description = "`audit`")
@Data
@TableName(value = "`audit`")
public class Audit {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 药品编号
     */
    @TableField(value = "pharmacy_id")
    @ApiModelProperty(value = "药品编号")
    private Integer pharmacyId;

    /**
     * 药品名
     */
    @TableField(value = "pharmacy_name")
    @ApiModelProperty(value = "药品名")
    private String pharmacyName;

    /**
     * 是否通过(1通过,0不通过)
     */
    @TableField(value = "`resource`")
    @ApiModelProperty(value = "是否通过(1通过,0不通过)")
    private Integer resource;

    /**
     * 原因
     */
    @TableField(value = "audit_desc")
    @ApiModelProperty(value = "原因")
    private String auditDesc;

    public static final String COL_ID = "id";

    public static final String COL_PHARMACY_ID = "pharmacy_id";

    public static final String COL_PHARMACY_NAME = "pharmacy_name";

    public static final String COL_RESOURCE = "resource";

    public static final String COL_AUDIT_DESC = "audit_desc";
}